package com.guigu.wenzhiyi.service;

import com.github.pagehelper.PageInfo;
import com.guigu.liuyunan.pojo.Meals;
import com.guigu.liuyunan.pojo.Sportsitemlibrary;
import com.guigu.wenzhiyi.pojo.Scheme;

import java.util.List;


public interface SchemeService {

    PageInfo<Scheme> page(Integer num, Integer size, String name);
    List<Scheme> pagecha(String name);

    PageInfo<Meals> MPageCha(Integer num, Integer size, String name);
    PageInfo<Sportsitemlibrary> SPageCha(Integer num, Integer size, String name);

    int add(Scheme scheme);
    int delete(Integer id);
    int update(Scheme scheme);



}
